package day0217.extend;

public class Person {

    public String name;

    protected String gender;

    int age;

    private String idCard;

    public Person(){
        System.out.println("Person()");
    }

    static void print(){
        System.out.println("Person::print()");
    }

    void say() {
        System.out.println(this);
        System.out.printf("我是 %s, 今年 %d  岁, 是个 %s 生. \n",
                this.name, this.age, this.gender);
    }

}
